/**
 * 功能描述
 *
 * @author wileda
 * @date 2023/02/13  16:55
 */
public class Main {
    public static void main(String[] args) throws InterruptedException {
            Object object = new Object();
            synchronized (object) {
                System.out.println("等待中");
                object.wait();
                System.out.println("等待结束");
            }
        }
    }

